package jman.competition08;

import java.util.ArrayList;

public class Q4_Class {
	private ArrayList<Q4_Student> students=new ArrayList<Q4_Student>();
	public ArrayList< Q4_Student> getStudents() {
		return students;
	}
	public void add(Q4_Student value){
		this.students.add(value);
	}
	public boolean isPay(int index){
		if(this.students.get(index).isPay()){
			return true;
		}else{
			return false;
		}
	}
	public byte result(int index){
		return this.students.get(index).result();
	}
}
